package models

import "gorm.io/gorm"

type User struct {
	Username string `json:"username"`
	Password string `json:"password"`
	gorm.Model
}
type User_role struct {
	Uid int `json:"uid"`
	Rid int `json:"rid"`
	gorm.Model
}
type Role struct {
	Id        int    `json:"id"`
	Role_name string `json:"role_name"`
	gorm.Model
}
type Role_node struct {
	Rid int `json:"rid"`
	Nid int `json:"nid"`
	gorm.Model
}
type Node struct {
	node_name string `json:"node_name"`
	gorm.Model
}
type Car struct {
	Car_code string `json:"car_code"`
	Car_name string `json:"car_name"`
	Car_num  string `json:"car_num"`
	gorm.Model
}
type Order struct {
	Order_no     int    `json:"order_no"`
	From_address string `json:"from_address"`
	To_address   string `json:"to_address"`
	Cid          int    `json:"cid"`
	gorm.Model
}
type Soon struct {
	Name  string `json:"name"`
	Title string `json:"title"`
	gorm.Model
}
